import AdminLayout from '@/view/component/layout/adminLayout';

export default {
    path: '/warehousingService',
    name: 'warehousingService',
    component: AdminLayout,
    title: '仓储服务',
    meta: {
        isMenu: true
    },
    children: [
        {
            path: '/platformApp/monitor-map',
            name: 'monitor-map',
            component: () => import('@/view/map/GoodsMonitor.vue'),
            title: '货物监控',
            meta: {
                parentName: 'warehousingService'
            }
        },
        // {
        //     path: '/platformApp/monitor-customer-map',
        //     name: 'monitor-customer-map',
        //     component: () => import('@/view/component/blank-component/index.vue'),
        //     title: '货物监控',
        //     meta: {
        //         parentName: 'warehousingService'
        //     }
        // },
        {
            path: 'whDaily',
            name: 'whDaily',
            component: () => import('@/view/whDaily/whDaily.vue'),
            title: '业务统计',
            meta: {
                parentName: 'warehousingService',
                isKeepAlive: true
            }
        },
        // {
        //     path: 'ctn',
        //     name: 'caseNumberList',
        //     title: '箱号列表',
        //     meta: {
        //         parentName: 'whDaily'
        //     },
        //     hidden: true,
        //     component: () => import('@/view/whDaily/component/ContainerNoInfo.vue')
        // },
        // {
        //     path: 'dailydetails',
        //     name: 'dailydetails',
        //     title: '统计详情',
        //     meta: {
        //         parentName: 'whDaily'
        //     },
        //     hidden: true,
        //     component: () => import('@/view/whDaily/component/DailyDetails.vue')
        // },
        // {
        //     path: 'containerdetails',
        //     name: 'containerdetails',
        //     title: '容器详情',
        //     meta: {
        //         parentName: 'dailydetails'
        //     },
        //     hidden: true,
        //     component: () => import('@/view/whDaily/component/ContainerDetails.vue')
        // },
        // {
        //     path: 'traceInfo',
        //     name: 'trayDetails',
        //     title: '托盘详情',
        //     meta: {
        //         parentName: 'caseNumberList'
        //     },
        //     component: () => import('@/view/whDaily/TraceInfo.vue')
        // },
        {
            path: 'inventory-info',
            name: 'inventoryInfo',
            component: () => import('@/view/wms/WmsStockInfo.vue'),
            title: '库存信息',
            meta: {
                parentName: 'warehousingService'
            }
        },
      {
        path: 'intoStock-detail',
        name: 'intoStockDetail',
        component: () => import('@/view/wms/IntoStockDetailInfo.vue'),
        title: '入库明细',
        meta: {
          parentName: 'warehousingService'
        }
      },
      {
        path: 'outStock-detail',
        name: 'outStockDetail',
        component: () => import('@/view/wms/OutStockDetailInfo.vue'),
        title: '出库明细',
        meta: {
          parentName: 'warehousingService'
        }
      },
      // {
      //   path: 'planInfo',
      //   name: 'planInfo', // @/view/wms/RealTimeWork.vue
      //   component: () => import('@/view/planInfo/index.vue'),
      //   title: '现场作业',
      //   meta: {
      //     parentName: 'warehousingService'
      //   },
      //   children: []
      // },
      {
        path: 'planInfo',
        name: 'planInfo', // @/view/wms/RealTimeWork.vue
        component: () => import('@/view/wms/SceneWork.vue'),
        title: '现场作业',
        meta: {
          parentName: 'warehousingService'
        },
        children:[]
      },
        // {
        //     path: 'bondedWarehousing',
        //     name: 'bondedWarehousing',
        //     component: () => import('@/view/bondedWarehousing/index.vue'),
        //     title: '保税仓储',
        //     meta: {
        //         parentName: 'warehousingService'
        //     },
        //     children:[]
        // },
        // {
        //     path: 'sepPlanInfo',
        //     name: 'sepPlanInfo',
        //     component: () => import('@/view/planInfo/sepPlanInfo/index.vue'),
        //     title: '分色申请',
        //     meta: {
        //         parentName: 'planInfo'
        //     }
        // },
        {
            path: 'inPlanInfo',
            name: 'inPlanInfo',
            component: () => import('@/view/planInfo/inPlanInfo/index.vue'),
            title: '入库申请',
            meta: {
                parentName: 'planInfo'
            }
        },
        // {
        //     path: 'bondedWarehousingInfo',
        //     name: 'bondedWarehousingInfo',
        //     component: () => import('@/view/bondedWarehousing/bondedWarehousingInfo/index.vue'),
        //     title: '保税报关计划申请',
        //     meta: {
        //         parentName: 'bondedWarehousing'
        //     }
        // },
        {
            path: 'OutPlanInfo',
            name: 'OutPlanInfo',
            component: () => import('@/view/planInfo/OutPlanInfo/index.vue'),
            title: '出库申请',
            meta: {
                parentName: 'planInfo'
            }
        },
        {
            path: 'goodsTransfer',
            name: 'goodsTransfer',
            component: () => import('@/view/planInfo/goodsTransfer/index.vue'),
            title: '货转申请',
            meta: {
                parentName: 'planInfo'
            }
        }
    ]
};
